<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <title>申办食品经营许可证</title>



</head>

<body>
<div class="page">
    <div class="page__hd">
#include("/WEB-INF/main/top.html")
    </div>
    <div class="page__bd page__bd_spacing">
        <div class="weui-cells_sjz">
            <div class="weui-msg_c" style="">
                <div class="weui-msg__text-area_c" style="margin-bottom: 10px;padding-left: 40%">
                    <div class="weui-progress" style="width: 100%;">
                        <i class='#(sbxx.QYXX??=="1"?"weui-icon-success-no-circle":"weui-icon-cancel")'></i>
                        <div class="weui-progress__bar">
                            <div class="weui-progress__inner-bar js_progress" style="width: 0%;"></div>
                        </div>
                    </div>
                </div>
                <div class="weui-msg__text-area_c">
                    <h2 class="weui-msg__title_c">企业信息</h2>
                </div>
            </div>
            <div class="weui-msg_c" style="">
                <div class="weui-msg__text-area_c" style="margin-bottom: 10px">

                    <div class="weui-progress" style="width: 100%;">
                        <div class="weui-progress__bar">
                            <div class="weui-progress__inner-bar js_progress" style="width: 0%;"></div>
                        </div>

                        <i class='#(sbxx.ZZXX??=="1"?"weui-icon-success-no-circle":"weui-icon-cancel")'></i>
                        <div class="weui-progress__bar">
                            <div class="weui-progress__inner-bar js_progress" style="width: 0%;"></div>
                        </div>
                    </div>
                </div>
                <div class="weui-msg__text-area_c">
                    <h2 class="weui-msg__title_c">证照信息</h2>
                </div>
            </div>
            <div class="weui-msg_c" style="">
                <div class="weui-msg__text-area_c" style="margin-bottom: 10px">
                    <div class="weui-progress" style="width: 100%;">
                        <div class="weui-progress__bar">
                            <div class="weui-progress__inner-bar js_progress" style="width: 0%;"></div>
                        </div>
                        <i class='#(sbxx.FRXX??=="1"?"weui-icon-success-no-circle":"weui-icon-cancel")'></i>
                        <div class="weui-progress__bar">
                            <div class="weui-progress__inner-bar js_progress" style="width: 0%;"></div>
                        </div>
                    </div>
                </div>
                <div class="weui-msg__text-area_c">
                    <h2 class="weui-msg__title_c">法人信息</h2>
                </div>
            </div>
   <div class="weui-msg_c" style="">
                <div class="weui-msg__text-area_c" style="margin-bottom: 10px">
                    <div class="weui-progress" style="width: 60%;">
                        <div class="weui-progress__bar">
                            <div class="weui-progress__inner-bar js_progress" style="width: 0%;"></div>
                        </div>
                        <i class='#(sbxx.SBXX??=="1"?"weui-icon-success-no-circle":"weui-icon-cancel")'></i>

                    </div>
                </div>
                <div class="weui-msg__text-area_c">
                    <h2 class="weui-msg__title_c">申报信息</h2>
                </div>
            </div>

        </div>
<form id="qyxxForm"  action="#(basePath)/wfw/wsbs/saveQyxx" method="post" data-role="form" data-fixed="true" next_url="#(basePath)/toSb?sblx=1&step=zzxx">
<input name="id" value="#(data.id??)" type="hidden">
    <div class="weui-cells">

            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">企业性质</label></div>
                <div class="weui-cell__bd">
                    <span id="fkqyxz"></span>
                    <input class="weui-input" type="hidden" placeholder="请选择企业性质" name="qyxz" id="qyxz" value="#(data.qyxz??)">

                    <input class="weui-input" type="text" placeholder="请选择企业性质" name="qyxzT" id="qyxzT" required value="#(data.qyxzt??)" data-values="#(data.qyxz??)">
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">经营者名称</label></div>
                <div class="weui-cell__bd weui-cell__primary">
                    <input class="weui-input" type="text" id="jyzmc" name="jyzmc" value="#(data.jyzmc??)" placeholder="例如东莞市东城XXX便利店" required>
                </div>
            </div>

            <div class="weui-cell">
                <label class="cuiui-label ">社会统一信用码</label>
            </div>
            <div class="weui-cell">

                <div class="weui-cell__bd weui-cell__primary">
                    <input class="weui-input" type="text" id="shtyxym" name="shtyxym" value="#(data.shtyxym??)" placeholder="请输入社会统一信用码" alphanumeric>
                </div>
            </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">经营场所地址</label></div>
            <div class="weui-cell__bd">
                <span id="xzjycsdz"></span>
                <input class="weui-input" type="hidden" placeholder="请选择经营场所地址" name="jycsdzlx" id="jycsdzlx" value="#(data.jycsdzlx??)">

                <input class="weui-input" type="text" placeholder="请选择经营场所地址" name="jycsL" id="jycsL" required value="#(data.jycsdzlx??=='1'?'与住所地址相同':data.jycsdzlx??=='2'?'与住所地址不同':'')" data-values="#(data.jycsdzlx??)">
            </div>
        </div>
            <div class="cuiui-cell" #(data.jycsdzlx??=='1'?'style="display: none"':data.jycsdzlx??=='2'?'style="display: block"':'style="display: none"') id="jycsC">
                <div class="weui-cell__bd weui-cell__primary">
                    <textarea id="jycsdz" name="jycsdz"  required class="weui-textarea" placeholder="经营场所详细地址：广东省东莞市（XX)镇（XX）村（XX）路（XX）号" rows="3">#(data.jycsdz??)</textarea>
                    <div class="weui-textarea-counter"><span>0</span>/200</div>
                </div>
            </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">使用面积</label></div>
            <div class="weui-cell__bd weui-cell__primary">
                <input class="weui-input" type="text" id="jycsmj" name="jycsmj" value="#(data.jycsmj??)" placeholder="经营场所使用面积（㎡）" required>
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">仓库地址</label></div>
            <div class="weui-cell__bd">
                <span id="fkckdz"></span>
                <input class="weui-input" type="hidden" placeholder="请选择仓库地址" name="ckdzlx" id="ckdzlx" value="#(data.ckdzlx??)">

                <input class="weui-input" type="text" placeholder="请选择仓库地址" name="ckdzl" id="ckdzL" required value="#(data.ckdzlx??=='1'?'不设仓库':data.ckdzlx??=='2'?'与经营场所相同':data.ckdzlx??=='3'?'另设仓库':'')" data-values="#(data.ckdzlx??)">
            </div>
        </div>
        <div class="cuiui-cell" #(data.ckdzlx??=='1'?'style="display: none"':data.ckdzlx??=='2'?'style="display: none"':data.ckdzlx??=='3'?'style="display: block"':'') id="xxdzC">
            <div class="weui-cell__bd weui-cell__primary">
                <textarea id="ckdz" name="ckdz"  required class="weui-textarea" placeholder="仓库详细地址：广东省东莞市（XX)镇（XX）村（XX）路（XX）号" rows="3">#(data.ckdz??)</textarea>
                <div class="weui-textarea-counter"><span>0</span>/200</div>
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">联系人</label></div>
            <div class="weui-cell__bd weui-cell__primary">
                <input class="weui-input" type="text" id="lxr" name="lxr" value="#(data.lxr??)" placeholder="请输入联系人姓名" required>
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">联系人电话</label></div>
            <div class="weui-cell__bd weui-cell__primary">
                <input class="weui-input" type="text" id="lxrdh" name="lxrdh" value="#(data.lxrdh??)" placeholder="请输入联系人电话" required>
            </div>
        </div>
        </div>
    <br>
    <div style="padding: 15px;">
        <button  class="weui-btn weui-btn_primary"  type="submit">下一步</button>
    </div>
</form>

    </div>
    <br> <br> <br>
    <div class="page__footer">

#include("/WEB-INF/main/footer.html")
    </div>
</div>
<script>
    $("#city-jycs").cityPicker({
        title: "请选择收货地址"
    });
    $("#qyxzT").select({
        title: "选择企业性质",
        items: [
            {
                title: "个体户",
                value: "1",
            }, {
                title: "企业",
                value: "2",
            }
        ],onChange:function (val) {
            $("#qyxz").val(val.values)
        }
    });
    $("#ckdzL").select({
        title: "选择仓库地址",
        items: [
            {
                title: "不设仓库",
                value: "1",
            }, {
                title: "与经营场所相同",
                value: "2",
            }, {
                title: "另设仓库",
                value: "3",
            }
        ],onChange:function (val) {
            $("#ckdzlx").val(val.values)
            if(val.values!=null&&val.values=="1"){
                $("#xxdzC").hide();

            }
            if(val.values!=null&&val.values=="2"){
                $("#xxdzC").hide();
            }
            if(val.values!=null&&val.values=="3"){
                $("#xxdzC").show();
            }

        }
    });
    $("#jycsL").select({
        title: "选择经营场所地址",
        items: [
            {
                title: "与住所地址相同",
                value: "1",
            }, {
                title: "与住所地址不同",
                value: "2",
            }
        ],onChange:function (val) {
            $("#jycsdzlx").val(val.values)
            if(val.values!=null&&val.values=="1"){
                $("#jycsC").hide();

            }
            if(val.values!=null&&val.values=="2"){
                $("#jycsC").show();
            }
        }
    });
function init(){

}
</script>
</body>
</html>